
  <div class="ncm-flow-item">
    <div class="title">相关商品交易信息</div>
    <div class="item-goods">
        <?php if (is_array($goods_list) && !empty($goods_list)) { ?>
        <?php foreach ($goods_list as $key => $val) { ?>
      <dl>
        <dt>
          <div class="ncm-goods-thumb-mini"><a target="_blank" href="<?php echo url('shop/Goods/index', array('goods_id'=> $val['goods_id'])); ?>">
            <img src="<?php echo thumb($val,60); ?>" onMouseOver="toolTip('<img src=<?php echo thumb($val,240); ?>>')" onMouseOut="toolTip()" /></a></div>
        </dt>
        <dd><a target="_blank" href="<?php echo url('shop/Goods/index', array('goods_id'=> $val['goods_id'])); ?>"><?php echo $val['goods_name']; ?></a>
          &yen;<?php echo ncPriceFormat($val['goods_price']); ?> * <?php echo $val['goods_num']; ?> <font color="#AAA">(数量)</font>
            <span><?php echo orderGoodsType($val['goods_type']);?></span>
        </dd>
      </dl>
        <?php } ?>
        <?php } ?>
    </div>
    <div class="item-order">
      <dl>
        <dt>运&nbsp;&nbsp;费：</dt>
        <dd><?php echo $order['shipping_fee']>0 ? ncPriceFormat($order['shipping_fee']):'（免运费）'; ?></dd>
      </dl>
      <dl>
        <dt>订单总额：</dt>
        <dd><strong>&yen;<?php echo ncPriceFormat($order['order_amount']); ?>
          <?php if ($order['refund_amount'] > 0) { ?>
          (退款：&yen; <?php echo $order['refund_amount'];?>)
          <?php } ?>
          </strong> </dd>
      </dl>
      <dl class="line">
        <dt>订单编号：</dt>
        <dd><a target="_blank" href="/member/Order/show_order?order_id=<?php echo $order['order_id']; ?>"><?php echo $order['order_sn'];?></a>
            <a href="javascript:void(0);" class="a">更多<i class="icon-angle-down"></i>
          <div class="more"> <span class="arrow"></span>
            <ul>
              <?php if($order['payment_code'] != 'offline' && !in_array($order['order_state'],array(ORDER_STATE_CANCEL,ORDER_STATE_NEW))) { ?>
              <li>付款单号：<span><?php echo $order['pay_sn']; ?></span></li>
              <?php } ?>
              <li>支付方式：<span><?php echo $order['payment_name']; ?></span></li>
              <li>下单时间：<span><?php echo date("Y-m-d H:i:s",$order['add_time']); ?></span></li>
              <?php if ($order['payment_time'] > 0) { ?>
              <li>付款时间：<span><?php echo date("Y-m-d H:i:s",$order['payment_time']); ?></span></li>
              <?php } ?>
              <?php if ($order_common['shipping_time'] > 0) { ?>
              <li>发货时间：<span><?php echo date("Y-m-d H:i:s",$order_common['shipping_time']); ?></span></li>
              <?php } ?>
              <?php if ($order['finnshed_time'] > 0) { ?>
              <li>完成时间：<span><?php echo date("Y-m-d H:i:s",$order['finnshed_time']); ?></span></li>
              <?php } ?>
            </ul>
          </div>
          </a> </dd>
      </dl>
      <?php if (!empty($order['shipping_code'])) { ?>
      <dl>
        <dt>物流单号：</dt>
        <dd><a target="_blank" href="/member/Order/search_deliver?order_id=<?php echo $order['order_id']; ?>"><?php echo $order['shipping_code'];?></a>
            <a href="javascript:void(0);" class="a"><?php echo $e_name;?></a></dd>
      </dl>
      <?php } ?>
      <dl class="line">
        <dt>商&nbsp;&nbsp;家：</dt>
        <dd><?php echo $order['store_name'];?><a href="javascript:void(0);" class="a">更多<i class="icon-angle-down"></i>
          <div class="more"><span class="arrow"></span>
            <ul>
              <li>所在地区：<span><?php echo $store['area_info'].'&nbsp;'.$store['store_address'];?></span></li>
              <li>联系电话：<span><?php echo $store['store_phone'];?></span></li>
            </ul>
          </div>
          </a>
          <div><span member_id="<?php echo $store['member_id'];?>"></span>
          <?php if (!empty($store['store_qq'])) { ?>
          <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $store['store_qq'];?>&site=qq&menu=yes" title="QQ: <?php echo $store['store_qq'];?>"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo $store['store_qq'];?>:52" style=" vertical-align: middle;"/></a>
          <?php } ?>
          <?php if (!empty($store['store_ww'])) { ?>
          <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?php echo $store['store_ww'];?>&site=cntaobao&s=2&charset=utf-8"  class="vm" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?php echo $store['store_ww'];?>&site=cntaobao&s=2&charset=<?php echo CHARSET;?>" alt="Wang Wang"  style=" vertical-align: middle;"/></a>
          <?php } ?>
          </div>
        </dd>
      </dl>
    </div>
  </div>